package com.hdd.biz.painting.service;

import com.hdd.biz.painting.dto.WorksInfoRequest;
import com.hdd.biz.painting.dto.WorksListRequest;
import com.hdd.biz.painting.dto.WorksRequest;
import com.hdd.biz.painting.entity.PaintingWorks;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdd.dto.SuperResponse;
import io.swagger.annotations.ApiOperation;
import net.bytebuddy.implementation.bind.annotation.Super;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * <p>
 * 作品表 服务类
 * </p>
 *
 * @author fang
 * @since 2021-02-25
 */
public interface PaintingWorksService extends IService<PaintingWorks> {


    SuperResponse worksList(WorksListRequest request);

    SuperResponse listForMobile(WorksListRequest request);

    SuperResponse recommend(WorksRequest request);

    SuperResponse setTop(WorksRequest request);

    SuperResponse worksInfo(WorksRequest request);

    SuperResponse adopt(WorksRequest request);

    SuperResponse reject(WorksRequest request);

    SuperResponse delete(WorksRequest request);

    SuperResponse preview(WorksRequest request);

    SuperResponse complaintList(WorksListRequest request);

    SuperResponse recoveryList(WorksListRequest request);

    SuperResponse trialList(WorksListRequest request);

    SuperResponse rejectList(WorksListRequest request);

    SuperResponse topickLink();

    SuperResponse topickLink2();

    SuperResponse setAuthor(WorksRequest request);




    SuperResponse recovery(WorksRequest request);

    SuperResponse recoveryDel(WorksRequest request);

    SuperResponse uploadAudio(WorksRequest request);



    PaintingWorks findWorksById(String id);

    int getDrafts(String userId);

    int views(String userId);

    int beLikeds(String userId);

    int works(String userId);

    int wikis(String userId);

    int totalWorks();

    int todayWorksWorks();

    int yesterdayWorks();
    int weekWorks();
    int monthWorks();


}
